public class Process {

	String name;
	int arrivaltime;
	int runTime;
	String userName;
	int priority_of_user;
	int fair_share_quantum;
	private int remainingTime;
	private int ranFor;
	private boolean running;

	// int priority;

	// public Process(String name, int arrivaltime, int runtime, String
	// username,
	// int priority_of_user) {
	// this.name = name;
	// this.arrivaltime = arrivaltime;
	// this.runtime = runtime;
	// this.username = username;
	// this.priority_of_user = priority_of_user;
	// // this.priority = priority;
	//
	// }
	public Process(String name, int arrivaltime, int runtime, String username,
			int priority_of_user, int priority) {
		this.name = name;
		this.arrivaltime = arrivaltime;
		this.runTime = runtime;
		this.userName = username;
		this.priority_of_user = priority_of_user;
		this.fair_share_quantum = 2;

	}

	public String getName() {
		return name;
	}

	public int getArrivaltime() {
		return arrivaltime;
	}

	public int getRuntime() {
		return runTime;
	}

	public String getUsername() {
		return userName;
	}

	public int getPriority_of_user() {
		return priority_of_user;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setArrivaltime(int arrivaltime) {
		this.arrivaltime = arrivaltime;
	}

	public void setRuntime(int runtime) {
		this.runTime = runtime;
	}

	public void setUsername(String username) {
		this.userName = username;
	}

	public void setPriority_of_user(int priority_of_user) {
		this.priority_of_user = priority_of_user;
	}

	public void setRanFor(int ranFor) {
		this.ranFor = ranFor;
	}

	public int getRanFor() {
		return ranFor;
	}

	public void setRemainingTime(int remainingTime) {
		this.remainingTime = remainingTime;
	}

	public int getRemainingTime() {
		return remainingTime;
	}

	public void setRunning(boolean running) {
		this.running = running;
	}

	public boolean isRunning() {
		return running;
	}

	// public int getPriority() {
	// return priority;
	// }
	//
	// public void setPriority(int priority) {
	// this.priority = priority;
	// }

}
